package diplomski.osijekinfo;

import activities.MainActivity;
import android.os.Bundle;
import android.os.Handler;
import android.app.Activity;
import android.content.Intent;

public class Background extends Activity {

	private static final long SPLASH_TIME_OUT = 3000;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_background);
		
		new Handler().postDelayed(new Runnable() {
			 
            public void run() {
                
                Intent i = new Intent(Background.this, MainActivity.class);
                startActivity(i);
 
                
                finish();
            }
        }, SPLASH_TIME_OUT);
    }
 
}
